<template>
	<div class="container">
		<h3 style="margin-bottom:20px;">
			标题：{{data.caption}}
		</h3>
		<div style="display: flex;">
			<div>反馈内容：</div>
			<div>{{data.content}}</div>
		</div>
		<div style="display: flex;">
			<div>回复内容：</div>
			<div>{{data.reply}}</div>
		</div>
	</div>
</template>

<script>
	import { opinion_selectId } from "@/request/supervisionCenterApi.js"
	export default{
		data(){
			return{
				id: '',
				data: []
			}
		},
		mounted(){
			this.id = this.$route.query.id
            this.init()
		},
		methods:{
            init() {
				    let selectIdData = {
				        id: this.id
				    }
				   opinion_selectId(selectIdData).then((res) =>{
					   this.data = res.data
					   console.log(this.data);
				   })
			}
		}
	}
</script>

<style scoped>
	
</style>